class TagsController < ApplicationController
#  auto_complete_for :tag, :tagname

  def autocomplete
    @tags = Tag.find(:all, :conditions => ['tagname like ?', "%#{params[:tagname_fragment]}%"])
  end  
end
